//
//  ReadCell.m
//  Leisure
//
//  Created by Alex on 16/6/29.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "ReadCell.h"
@interface ReadCell ()
// 背景图片
@property (weak, nonatomic) IBOutlet UIImageView *coverimg;
// 题目
@property (weak, nonatomic) IBOutlet UILabel *name;

@end


@implementation ReadCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)setCellWithModel:(ReadModel *)model {
    
    self.name.text = model.name;
    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:model.coverimg]];
}

@end
